package com.ltmall.api.bean;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

@Entity
@Table(name = "th_sub_underwriting_configs")
public class ThSubUnderwritingConfigs implements java.io.Serializable {
	private String name;
	private String value;
	
	public ThSubUnderwritingConfigs() {
	}

	public ThSubUnderwritingConfigs(String name) {
		this.name = name;
	}

	public ThSubUnderwritingConfigs(String name, String value) {
		this.name = name;
		this.value = value;
	}
	
	@Id
	
	@Column(name = "name", unique = true, nullable = false)
	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	@Column(name = "value")
	public String getValue() {
		return value;
	}

	public void setValue(String value) {
		this.value = value;
	}
}
